package cn.bgs.serviceedu.clients;

import cn.bgs.serviceutils.utils.R;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author:YiChen
 * @program: IntelliJ IDEA
 * @Description:
 * @Created 2021/11/16-10:10
 */
@Component
@FeignClient(name = "service-vod",fallback = VodClientsImpl.class)
public interface Vodclients {

    @DeleteMapping("/delVod/{videoId}")
    public R removeVideo(@PathVariable String videoId);
}
